projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a374f81
)
Take into account modifications of the inner frame for has_extra_children.
author
Xan Lopez
<xan@src.gnome.org>
Wed, 26 Dec 2007 11:32:47 +0000
(11:32 +0000)
committer
Xan Lopez
<xan@src.gnome.org>
Wed, 26 Dec 2007 11:32:47 +0000
(11:32 +0000)
svn path=/trunk/; revision=19245
gtk/gtkstatusbar.c
patch
|
blob
|
history
diff --git
a/gtk/gtkstatusbar.c
b/gtk/gtkstatusbar.c
index e96cdc72615966f88f9b48c0439564e4f1114bf7..9fd215411eb1ee5ac1e87f16fa99754e5c97017c 100644
(file)
--- a/
gtk/gtkstatusbar.c
+++ b/
gtk/gtkstatusbar.c
@@
-825,6
+825,10
@@
has_extra_children (GtkStatusbar *statusbar)
GList *l;
GtkBoxChild *child, *frame;
+ /* If the internal frame has been modified assume we have extra children */
+ if (gtk_bin_get_child (GTK_BIN (statusbar->frame)) != statusbar->label)
+ return TRUE;
+
frame = NULL;
for (l = GTK_BOX (statusbar)->children; l; l = l->next)
{